package com.example.getfromservice.Book;

import android.graphics.Bitmap;



public class Book {

	private int idDB;
	private String author;
	private String ISBN;
	private int ID;
	private String title;
	private Bitmap image;
	private String category_id;
	private int changes;
	
	public String getAuthor() {
		return author;
	}
	
	public void setAuthor(String author) {
		this.author = author;
	}
	
	public String getISBN() {
		return ISBN;
	}
	
	public void setISBN(String iSBN) {
		ISBN = iSBN;
	}
	
	public int getID() {
		return ID;
	}
	
	public void setID(int iD) {
		ID = iD;
	}
	
	public String getTitle() {
		return title;
	}
	
	public void setName(String title) {
		this.title = title;
	}
	
	public String getCategory_id() {
		return category_id;
	}
	
	public void setCategory_id(String category_id) {
		this.category_id = category_id;
	}
	
	public Bitmap getImage() {
		return image;
	}

	public void setImage(Bitmap img) {
		this.image = img;
	}

	public int getChanges() {
		return changes;
	}

	public void setChanges(int changes) {
		this.changes = changes;
	}  

	public int getIdDB() {
		return idDB;
	}

	public void setIdDB(int idDB) {
		this.idDB = idDB;
	}
	
	
	// Will be used by the ArrayAdapter in the ListView
	@Override 
	public String toString() {
	    return "\""+title+"\"";
	}

}
